package com.study.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.study.project.entity.Status;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.data.domain.PageRequest;

import java.util.List;

@Mapper
public interface StatusMapper extends BaseMapper<Status> {
    List<Status> queryAllByLimit(Status status, PageRequest pageRequest);

    long count(Status status);

    Status queryById(Integer statusId);
}
